<!DOCTYPE html>
<html lang="en" xmlns:c="http://www.w3.org/1999/XSL/Transform">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<c:if test="${empty sessionScope.loginInfo}"> <%--判断用户是否已登录 没有的话就重定向login.jsp--%>
    ${pageContext.response.sendRedirect("/08/login.jsp")}
</c:if>
已登录
</body>
</html>